<?php


namespace support\bootstrap;

use Webman\Bootstrap;
use Workerman\Worker;

/**
 *
 * @author 码龍
 * @email 695798354@qq.com
 * @date 16:51
 */
class Gateway implements Bootstrap
{
    public static function start($worker)
    {
        $gateway = config('gateway.gateway');
        $register = config('gateway.register');
        \GatewayWorker\Lib\Gateway::$registerAddress = $gateway['registerAddress'] . ':' . $register['port'];
    }
}
